x86: Make IDT/GDT/LDT updates safe.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Nov 2007 11:38:51 +0000 (11:38 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 21 Nov 2007 11:38:51 +0000 (11:38 +0000)
commitbfa574998d0556c260f0e9fef1e0bf409f363d78
treec251fb135e62e7670e145974bb90b56ad18cd29d
parent8163649f9e2a6c48b3391bd05e2b4d83af1b4e8a
x86: Make IDT/GDT/LDT updates safe.

This involves either determining that the entry will not be
read/written while the update takes place, or atomically making the
entry 'present', or doing the entire write atomically, as appropriate.

This issue raised, and original patch provided, by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
xen/arch/x86/mm.c
xen/arch/x86/traps.c
xen/arch/x86/x86_32/seg_fixup.c
xen/include/asm-x86/desc.h
xen/include/asm-x86/system.h